﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BeeZ.CommonObjects.Interfaces;

namespace BeeZ.Server
{
    namespace Bears
    {
        public class ConsoleBear : IBear
        {
            int workerThreads;
            int portThreads;

            public void Eat(IHoney h)
            {
                System.Threading.ThreadPool.GetAvailableThreads(out workerThreads, out portThreads);
                Console.WriteLine("{0} at {1:T} a bee said that {2}", workerThreads, h.GetProperty("Time"), h.GetFriendlyMessage());
            }

            public void AddPolicy(IPolicy policy)
            {
            }
        }
    }
}
